package com.logwire.dto.query;import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;import com.logwire.config.shiro.ShiroUtils;import com.logwire.dto.UserDTO;import lombok.Data;import org.apache.commons.lang3.StringUtils;@Datapublic class BaseRoleQuery extends BaseQuery {	@Override	public QueryWrapper getWhere() {		final QueryWrapper<Object> objectQueryWrapper = new QueryWrapper<>();		if (StringUtils.isNotBlank(keyword)) {			objectQueryWrapper.like("role_name", keyword);		}		//  TODO  创建人过滤		final UserDTO user = ShiroUtils.getUser();		objectQueryWrapper.eq("create_user_id", user.getId());		return objectQueryWrapper;	}}